<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JDK8文档搜索</title>
</head>
<body>
<div class="container">
    <div class="header">
        <input type="text">
        <button id="search-btn">搜索</button>
    </div>

    <div class="result">
        <div class="item">
            <a href="#">我是标题</a>
            <div class="desc">我是一描述，</div>
            <div class="url">http://www.baidu.com</div>
        </div>
    </div>
</div>

<style>
    {
        margin: 0
    ;
        padding: 0
    ;
        box-sizing: border-box
    ;
    }

    html, body {
        height: 100%;
        background-image: url("image/bingsea.jpg");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }

    .container {
        width: 1200px;
        height: 100%;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.6);
        border-radius: 10px;
        padding: 20px;
    }

    .header {
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header > input {
        width: 1050px;
        height: 50px;
        font-size: 22px;
        line-height: 50px;
        padding-left: 10px;
        border-radius: 10px;
    }

    .header > button {
        width: 100px;
        height: 50px;
        background-color: rgb(42, 107, 205);
        color: #fff;
        font-size: 22px;
        line-height: 50px;
        border-radius: 10px;
        border: none ;
    }

    .header > button:active{
        background-color: rgb(42, 50, 150);
    }
</style>
</body>
</html>